package com.base.bean;

import java.sql.Timestamp;

/**
 * ClientXattr entity. @author MyEclipse Persistence Tools
 */

public class ClientXattr implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer cid;
	private Timestamp expire;
	private Timestamp shareExpire;
	private String shareCode,shareUsers;
	private Integer fromFlag,state;
	private Integer clashFlag;

	// Constructors

	/** default constructor */
	public ClientXattr() {
	}
	
	public ClientXattr(Integer cid) {
		this.cid=cid;
	}

	/** minimal constructor */
	public ClientXattr(Timestamp expire, Timestamp shareExpire,
			Integer clashFlag) {
		this.expire = expire;
		this.shareExpire = shareExpire;
		this.clashFlag = clashFlag;
	}

	/** full constructor */
	public ClientXattr(Integer cid, Timestamp expire, Timestamp shareExpire,
			String shareCode, Integer fromFlag, Integer clashFlag) {
		this.cid = cid;
		this.expire = expire;
		this.shareExpire = shareExpire;
		this.shareCode = shareCode;
		this.fromFlag = fromFlag;
		this.clashFlag = clashFlag;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Timestamp getExpire() {
		return this.expire;
	}

	public void setExpire(Timestamp expire) {
		this.expire = expire;
	}

	public Timestamp getShareExpire() {
		return this.shareExpire;
	}

	public void setShareExpire(Timestamp shareExpire) {
		this.shareExpire = shareExpire;
	}

	public String getShareCode() {
		return this.shareCode;
	}

	public void setShareCode(String shareCode) {
		this.shareCode = shareCode;
	}

	public Integer getFromFlag() {
		return this.fromFlag;
	}

	public void setFromFlag(Integer fromFlag) {
		this.fromFlag = fromFlag;
	}

	public Integer getClashFlag() {
		return this.clashFlag;
	}

	public void setClashFlag(Integer clashFlag) {
		this.clashFlag = clashFlag;
	}

	public String getShareUsers() {
		return shareUsers;
	}

	public void setShareUsers(String shareUsers) {
		this.shareUsers = shareUsers;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}